package form.ui.component.Radio {
	import flash.events.Event;
	
	import form.ui.assets.Compiled;
	import form.ui.core.Button;

	public class RadioOn extends Button {
		public function RadioOn() {
			super();
			
			this.mouseUp = new Compiled.RadioSelectedUp();
			this.mouseOver = new Compiled.RadioSelectedOver();
			this.mouseDown = new Compiled.RadioSelectedDown();
			this.disabled = new Compiled.RadioSelectedDisabled();
			
			this.enable();
		}
		
		protected override function onAddedToStage(e:Event):void {}
		
		public override function get width():Number
		{
			return mouseUp ? mouseUp.width : 14;
		}
	}
}